<?php
/**
 * Created by PhpStorm.
 * User: 毛文科
 * Date: 2019/5/25
 * Time: 19:08
 */
namespace app\admin\model;
use think\Model;

class Weke extends Model
{
    protected $name = 'wechats';
    protected $pk = 'id';
    public function __construct($data = [])
    {
        $this->name = session('modular').'_'.$this->name;
        parent::__construct($data);
    }
}